package edu.gxnu.cetcdemo.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;

/**
 * @TableName message
 */
@TableName(value = "message")
@Data
@ApiModel("留言实体类")
public class Message implements Serializable {
    @ApiModelProperty("留言编号")
    @TableId(value = "message_id", type = IdType.AUTO)
    private Integer messageId;

    @ApiModelProperty("")
    private Date messageTime;

    @ApiModelProperty("")
    private Integer messageReplyId;

    @ApiModelProperty("")
    private String messageContent;

    @Serial
    private static final long serialVersionUID = 1L;
}
